Which is the work energy theorem of electrodynamics: The first term is the total energy stored in electromagnetic fields:
u=21(ϵ0E2+μ01B2)
The second term is the rate at which energy is transported out of the surface. The mysterious second term is defined as the Poynting vector. It is interpreted as the energy per unit time, per unit area.
S≡μ01(E×B)
So S⋅da is the energy leaving surface da.
Finally, we can write the above equation into a more compact form:
dtdW=−dtd∫Vudτ−∮SS⋅da
Now what is the meaning of this equation? Imagine we do work on some charge configuration. Either the energy stored in the fields had to have decreased, or the energy must have went outside the surface.
The second interpretation could use a little more work. What does it mean for energy to leave a surface? After all, we said that the volume V is arbitrary, and S is only required to be the boundary of such a volume.
To be concrete, let’s say our system is a battery, and pick V to be the volume of the battery. In a circuit, the battery is clearly doing work to drive say a lightbulb. (increasing dW/dt)
So where does the energy come from? If we say there aren’t any fields in the battery, then energy really is leaving the battery to drive the circuit, in order word the second term must decrease.
Finally, if dW/dt=0, then using the divergence theorem again gives
∫∂t∂udτ=−∮S⋅da=−∫(∇⋅S)dτ
and removing the integrals gives us:
∂t∂u=−∇⋅S
which is the continuity equation for energy! This says that energy is locally conserved!
If we compare this to the continuity equation for fluids, we see that the Poynting vectorS really is the energy flux.
Image: Wikipedia. Dipole radiation of a dipole vertically in the page showing electric field strength (colour) and Poynting vector (arrows) in the plane of the page.